<?php     

echo form_open(current_url()); ?>
<?php echo $custom_error; ?>
<?php echo form_hidden('ID_KATEGORI',$result->ID_KATEGORI) ?>

                                    <p><label for="NAMA_KATEGORI">NAMA_KATEGORI<span class="required">*</span></label>                                
                                    <input id="NAMA_KATEGORI" type="text" name="NAMA_KATEGORI" value="<?php echo $result->NAMA_KATEGORI ?>"  />
                                    <?php echo form_error('NAMA_KATEGORI','<div>','</div>'); ?>
                                    </p>
                                    
<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
